package com.twu.biblioteca;

import java.io.PrintStream;

/**
 * Created with IntelliJ IDEA.
 * User: root
 * Date: 6/28/13
 * Time: 2:47 AM
 * To change this template use File | Settings | File Templates.
 */
public class CommandViewMembershipDetails extends Command {

    public CommandViewMembershipDetails() {
    }

    @Override
    public CommandType type() {
        return CommandType.CMD_VIEWMEM;  //To change body of implemented methods use File | Settings | File Templates.
    }

    @Override
    public void execute(String param, PrintStream output) {
<<<<<<< HEAD
        if( Login.isLogged() )
            BibliotecaShow.showMembershipDetails(output);//To change body of implemented methods use File | Settings | File Templates.
        else
            BibliotecaShow.showNotLogged(output);
=======
        BibliotecaShow.showMembershipDetails(output);//To change body of implemented methods use File | Settings | File Templates.
>>>>>>> 35da6d08a71d87cd8b6d18bacb866f3b865fbf23
    }
}
